package com.action.gulimall.product.fegin;

import com.action.common.utils.R;
import com.action.gulimall.product.vo.BoundInfoVo;
import com.action.gulimall.product.vo.SkuReductionTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "gulimall-coupen")
public interface CoupenFeginService{
    @RequestMapping("test/fegin")
    R testOpenFegin(@RequestParam(value="str") String str);

    @GetMapping("/coupen/spubounds/save")
    R saveSpuBounds(@RequestBody BoundInfoVo boundInfoVo);

    @PostMapping("/coupen/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
